package com.peanut.model;

import java.util.LinkedHashSet;

public class ResourceTreeNode extends Resource {
	private static final long serialVersionUID = -1686090933622547480L;
	
	private String text;
	private boolean leaf = true;
	private boolean expanded;
	private String iconCls;
	private LinkedHashSet<ResourceTreeNode> children;
	
	public String getText() {
		return text;
	}
	public LinkedHashSet<ResourceTreeNode> getChildren() {
		return children;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public boolean isExpanded() {
		return expanded;
	}
	public void setText(String text) {
		this.text = text;
	}
	public void setChildren(LinkedHashSet<ResourceTreeNode> children) {
		this.children = children;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
}
